﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SchoolLibrary.Entity;
using SchoolLibrary.Entity.Person;

namespace SchoolLibrary.DataBase.Builder
{
    class WriterBuilder : AbstractPersonBuilder
    {
        public override Identity Build(DataRow row)
        {
            Writer writer = new Writer();
            BuildEntity(writer, row);
            return writer;
        }

        protected override void BuildEntity(Identity entity, DataRow row)
        {
            base.BuildEntity(entity, row);            
        }
    }
}
